package com.xiyou.luckdraw.api.service;

import com.xiyou.luckdraw.api.dto.user.ExchangeListRequest;
import com.xiyou.luckdraw.api.dto.user.ExchangeListResponse;
import com.xiyou.luckdraw.api.dto.user.UpdateExchangeRequest;
import com.xiyou.luckdraw.api.dto.user.UpdateExchangeResponse;

/**
 * @ClassName: IUserExchangeService
 * @Description: 用户兑换记录操作Service
 * @author: limingxing
 * @Date: 2019-10-08 12:31
 */
public interface IUserExchangeService {

    /**
     * 用户兑换记录列表
     */
    ExchangeListResponse getExchangeList(ExchangeListRequest request);

    /**
     * 更新用户兑换状态
     * @param request
     * @return
     */
    UpdateExchangeResponse updateExchangeByStatus(UpdateExchangeRequest request);
}
